﻿
@{
    Layout = null;
    var userid = ViewBag.userid;
    var num = ViewBag.num;
    var pl = ViewBag.pl;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <style>
        .pl{
            width:200px;
            height:120px;
        }
    </style>
</head>
<body>
    <form>
        <div>
            <p>账号：<input type="text" name="userid" /></p>
            <p>评分：<input type="text" name="num" /></p>
            <p>评论：<input type="text" name="pl"class="pl"/></p>
            <button type="submit">提交</button>
           @if (ViewBag!=null)
           {
               <p>账号 @userid 给予的评分为： @num  评论是：@pl</p>
           }
        </div>
    </form>
</body>
</html>
